﻿using System;
namespace Pay.DTO {
	[Serializable]
	public class pay_html_dto {
		public pay_html_dto() {
		}
		public string id { get; set; }
		/// <summary>
		/// 支付缓存数据
		/// </summary>
		public string charge { get; set; }
		/// <summary>
		/// html
		/// </summary>
		public string html { get; set; }
		public DateTime create_time { get; set; }
		public string order_no { get; set; }
		public string merchant_no { get; set; }
        /// <summary>
        /// 支付方式 1：app ，2：h5，3：海淘乐同步商品数据，4：海淘乐支付订单，5：候鸟推送数据，6：候鸟推送支付订单
        /// </summary>
        public string pay_type {
            get;set;
        }
        /// <summary>
        /// 类型说明
        /// </summary>
        public string pay_type_title {
            get {
                switch (pay_type) {
                    case "3":
                        return "海淘乐同步商品数据";
                    case "4":
                        return "海淘乐支付订单";
                    case "5":
                        return "候鸟推送数据";
                    case "6":
                        return "候鸟推送支付订单";
                    default:
                        return "";
                }
            }
        }
        /// <summary>
        /// 是否完成
        /// </summary>
        public int is_finish { get; set; }
	}
    /// <summary>
    /// 
    /// </summary>
	[Serializable]
	public class pay_html_model : head_req {
		/// <summary>
		/// 订单号
		/// </summary>
		public string order_no { get; set; }
		/// <summary>
		/// 支付缓存数据
		/// </summary>
		public string charge { get; set; }
		/// <summary>
		/// html
		/// </summary>
		public string html { get; set; }
        /// <summary>
        /// 支付方式 1：app，2：h5
        /// </summary>
        public string pay_type {
            get;set;
        }
	}
}
